package cn.wolfcode.service;

import cn.wolfcode.domain.Systemdictionaryitem;
import cn.wolfcode.quest.SystemDictionaryItemQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

//字典的明细
public interface ISystemdictionaryitemService {
 int deleteByPrimaryKey(Long id);

 int insert(Systemdictionaryitem record);

 Systemdictionaryitem selectByPrimaryKey(Long id);

 List<Systemdictionaryitem> selectAll();

 int updateByPrimaryKey(Systemdictionaryitem record);

 PageInfo selectList(SystemDictionaryItemQuery qo);

    int selectMaxSequence(Long id);
    //找到某一目录下的所有的内容
    List<Systemdictionaryitem> selectByParentId(long parentId);
    //找到某一目录下的所有的内容
    List<Systemdictionaryitem> selectBySn(String sn);
}
